/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sunsite.service;

import java.util.List;
import sunsite.dao.SaiDao;
import sunsite.po.Sai;

/**
 *
 * @author Ruby
 */
public class SaiServiceImpl implements SaiService{

    private SaiDao saiDao;
    
    public List<Sai> getSaiList() {
        return saiDao.getSaiList();
    }

    public Sai getSai(int saiId) {
        return saiDao.getSai(saiId);
    }

    public void setSaiDao(SaiDao saiDao) {
        this.saiDao = saiDao;
    }

}
